  //方法一
  export default {
    TENCENT_CAPTCHA: "15326598960"
  };

//方法二
//   编写js生成10位随机数
//   config.js
  export  function RondomPass(){
    var arr = new Array;
    var arr1 = new Array("0","1","2","3","4","5","6","7","8","9");
    var nonceStr=''
    var TENCENT_CAPTCHA=''
    for(var i=0;i<10;i++){
      var n = Math.floor(Math.random()*10);
      arr[i] =arr1[n] ;
      nonceStr+=arr1[n];
      TENCENT_CAPTCHA=parseInt(nonceStr)
    }
    return TENCENT_CAPTCHA
  }



export function xx(){
    return new Promise((resolve, reject) =>{
      setTimeout(() =>{
        console.log("张三你好")
        resolve()
      },3000.)
    })
}


